package com.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.entity.Student;

public interface StudentDao {
	public List<Student> getAllStudent() throws SQLException,ClassNotFoundException;
	public List<Student> getStudentByName(String name) throws SQLException, ClassNotFoundException;
	public int addStudent(Student student) throws IllegalArgumentException, IllegalAccessException, SQLException;
	public List<Map> select(String methodname);
	public Student loginStudentByName(String name);
}
